<?php
/**
 * Created by PhpStorm.
 * User: kun
 * Date: 26/6/19
 * Time: 18:20
 */

namespace app\api\controller\v1;


use app\api\controller\Common;
use app\common\lib\Aes;
use app\common\lib\Upload;


class Image extends AuthBase
{
    /**
     * app图片上传
     * @return array
     */
    public function save()
    {
//        print_r($_FILES);
        $image = Upload::image();
        if ($image) {
            return show(config('code.success'), 'ok', config('qiniu.image_url') . '/' . $image);
        }
    }


}

